<?php
$strTableName="ppadmin main";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="ppmain";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="select `ID`,   `Category`,   `Subcategory`,   `Title`,   `Price`,   `Details`,   `Fullinfo`,   `Picture`,   `UserID`";
$gsqlFrom="From `ppmain`";
$gsqlWhereExpr="";
$gsqlTail="";

include_once(getabspath("include/ppadmin_main_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_ppadmin_main;
$eventObj = &$tableEvents["ppadmin main"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>